System_shutdown block

Short summary

Name

System_shutdown

→POU type

→function

Category

more system blocks, blocks for calling system functions

Graphical interface

Available since

  • version 1.88.0 (for Neuron Power Engineer) and version 3.6.2 of the →runtime system

    (warning) This block is supported for →Raspberry Pi only. 

  • version 1.109.0 (for Neuron Power Engineer) and version 3.19.0 of the →runtime system
    (warning) This block is supported for Raspberry Pi and when using the platform LinuxX86 only.

Functionality

The block performs a shutdown of the PLC.

Inputs, outputs, return value

 

Identifier

→Data type

Description

Inputs:

mode

USINT

shutdown mode

value 1 : performs a reboot

value 2 : powers down (default)

Outputs:

rc

DINT

return code of system call

Return value:

UDINT

returns the return code of the RTS system service
Value 0 represents the successful execution of the block. 

Input EN and output ENO are available when →calling the block. See "Execution control: EN, ENO" for information on input EN and output ENO.

See:

Example for usage within ST-editor

At present, there is no example.